<?php
/*
//Models
//use for reference tbl_reff_petunjuk
//author : fajar nugroho
*/
class mdl_reff_petunjuk extends CI_Model{
	
	function __construct(){
		//call to model constuctor
		parent::__construct();
	}

	function get_all(){
		$this->db->flush_cache();
		$this->db->select('*');
		$this->db->from('reff_petunjuk');
		return $this->db->get();
	}	

	function get_by_id($id){
		$this->db->flush_cache();
		$this->db->select('*');
		$this->db->from('reff_petunjuk');
		$this->db->where('id', $id);
		return $this->db->get();
	}

	

}


?>